package com.fjh.springboot_01.service;

import com.fjh.springboot_01.pojo.Banner;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface BannerService {
    List<Banner> getActiveBanners();
    List<Banner> getAllBanners();
    Banner addBanner(Banner banner, MultipartFile imageFile);
    Banner updateBanner(Banner banner, MultipartFile imageFile);
    void deleteBanner(Integer id);
    Banner getBannerById(Integer id);
} 